#!/usr/bin/env python3
# -*- coding: utf-8 -*-

class 柜子:
    def __init__(self, 衣服):
        self.衣服 = 衣服

    def 拿出衣服(self, k):
        return self.衣服[k]


x = 柜子(['裙子', '衣服'])

c = x.拿出衣服(1)

print(c)

c= 柜子.拿出衣服(x, 1)

print(c)

def 拿出衣服(self, k):
    return self.衣服[k]

c=拿出衣服(x, 1)

print(c)
